IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Need help with Regular Expressions
eric00000007
post Sep 13 2007, 19:32
Post #1


Member


Group: Full Members
Posts: 11
Joined: 2-September 07
Member No.: 5547
Mp3tag Version: 2.39



I am stuck on discogs web result page
I am doing a script and I would like to display the format when it is on a line.
Format always start with "Format: "
findinline "Format: " 1 1

Now I would like to use sayregexp function
I started with something like

sayregexp "[^(\.\.\.)]*(?=(\.\.\.))" ""
but that's bad
I tried something like
sayregexp ".*(?=\.\.\.)" ""
Because sometimes it is follow by three dots. ...

Sometime it is follow byt 3 dost "..." sometimes it is follow by "<", but other text could be follow with the same signs. Just the first reg result should be display.

I hope somebody could help and I am enough clear. Find attached a source file. The sayregexp is on line 76.Attached File  discogs_album_ext5.src ( 11.58K ) Number of downloads: 141


Thanks for your help
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2014 - 22:17