This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

TCL Scripting Question

Old posts that have not been replied to for several years.
Locked
C
CaliMonk

TCL Scripting Question

Post by CaliMonk »

Hi,

I made a script that gets lines from a website. Now i have a question because i'm pretty stuck.

Would anyone happen to know how i get every part of my string that contains 0000-00-00 to go to a new line (0 being just any number) ... :x

For instance

my string is: "1234-23-12 fklsdjflksdjklsjdgkljds 4243-34-34 gkdfjgklfdjgjklf"

I want those 2 part to be outputted on 2 diffrent lines but i have no clue how to do so.

Thanks in advance
D
Deflex

Post by Deflex »

Did you try

Code: Select all

regexp ....
?
Locked