Skip to main content
BEGINNER_X
Legend
July 17, 2013
Answered

Need GREP Help

  • July 17, 2013
  • 1 reply
  • 465 views

Hi ALL,

I hope simple request for you...

I want to find the word start with http:// or www.

(find all url words start with http:// or www.)

How can we catch using in GREP or TEXT.

one more question:

In Grep we are using .+ to find n number of characters

In Text what we used?

Could anyone help for my request.

Thanks in advance

Beginner

This topic has been closed for replies.
Correct answer Jump_Over

Hi,

app.findGrepPreferences.findWhat = "http.+?(?=\\s)|www.+?(?=\\s)";

There is no wildcard's multiplier in "Text" tab. If you type "^?^?^?" ID will match exactly 3 "any character", no less, no more and next 3 starting from last match, and so on.

Use Grep.

Jarek

1 reply

Jump_Over
Jump_OverCorrect answer
Legend
July 17, 2013

Hi,

app.findGrepPreferences.findWhat = "http.+?(?=\\s)|www.+?(?=\\s)";

There is no wildcard's multiplier in "Text" tab. If you type "^?^?^?" ID will match exactly 3 "any character", no less, no more and next 3 starting from last match, and so on.

Use Grep.

Jarek

BEGINNER_X
Legend
July 18, 2013

Hi Jump_Over,

Thanks you so much for your reply...

Always you help and teach lot of beginners like us......

Again thank you for spending your valuable time with us.

Thanks

Beginner