Anyone know how i can do? [Solved]

Ok so i was wondering i want to make a program that can do the following.
Search for a range of numbers and return everything that is within certen paramaters.
Example: You have a text document containing IPs and you want to search for a spesific range. like: 192.xxx.xxx.xxx so you are searching for every string\ substring that contains 192.000.000.000. So in the string from the IP.txt there is a line\substring like "MyLivingRoom!!:192.168.1.55 :D:D" i want my program to return 192.168.1.55. I need to keep in mind that the IPs may be longer and shorter depending on range so do anyone have a good idea and how to do this?
Any help, tips ore snips is greatly aprichiated.

Cheers
WetCode
Last edited on
Regular expressions.
Yep got it working now.
Topic archived. No new replies allowed.