Jump to content
Sign in to follow this  

Problem with StringRegExp

Recommended Posts



I want to know why this is not working:

StringRegExp('newdid=104010">City Of Birth<', 'newdid=(\d+)">\w+<', 3)oÝ÷ Ø  ݶ¬Ì(®H§«­¢+ÙMÑÉ¥¹IáÀ Ìäí¹Ý¥ôÄÀÐÀÄÀÅÕ½ÐìÐí
¥Ñä= ¥ÉÑ ±ÐìÌäì°Ìäí¹Ý¥ô ÀäÈí¬¤ÅÕ½ÐìÐìÀäÈíܬÌäì°Ì

As you see I delete "<" ... what can I do that the first will work, because I need < at the end..

Edited by DoctorSLO

Share this post

Link to post
Share on other sites

StringRegExp('newdid=104010">City Of Birth<', 'newdid=(\d+)">|(.+)<', 3)

Note that I replaced "\w" with ".". "\w" doesn't work as expected.

[center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.