Jump to content



Photo

Match At The End Of Line


  • Please log in to reply
1 reply to this topic

#1 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 324 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 13 March 2018 - 11:05 AM

Im trying to match the price at the end of the line.  So im using the \n as the linefeed.  I got it working with regexbuddy but it wont work in Ubot.  

 

The following should match. No dollar sign needed :)

20.00

35.00

29.00

100.00

 

Regex

[0-9]+\.[0-9]{2}\n

Data

$25.00 $20.00
$35.00

$25.00 $29.00
$40.00
$22.00 $19.00 $100.00

 



#2 BigEfromDaBX

BigEfromDaBX

    Advanced Member

  • Members
  • PipPipPip
  • 324 posts
  • OS:Windows 8
  • Total Memory:< 1Gb
  • Framework:v3.5
  • License:Standard Edition

Posted 13 March 2018 - 11:26 AM

Never mind.  I figured it out.  Thanks anyways.

[0-9]+\.[0-9]{2}$





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users