Minase Posted January 5, 2009 Share Posted January 5, 2009 hy there i was wondering if a character was found for example " / " without quotes is found at the start of the line or in middle how i can skip everything till new line? thank you Quote Link to comment https://forums.phpfreaks.com/topic/139532-solved-qregex/ Share on other sites More sharing options...
.josh Posted January 5, 2009 Share Posted January 5, 2009 depends. are you trying to match something before it? what do you mean by skip everything till new line? are you trying to match every line that doesn't have it? where is this data coming from and how are you going through each line? Is you data one giant string and by new line you mean every time there's an \n? a <br/>? Is each line an element in an array? In short, you must be a lot more specific. Quote Link to comment https://forums.phpfreaks.com/topic/139532-solved-qregex/#findComment-729915 Share on other sites More sharing options...
Minase Posted January 5, 2009 Author Share Posted January 5, 2009 ; this is an ignored line everything that is here is ignored (new line with \n or \r\n) this is a normal line i will execute everything from here thx Quote Link to comment https://forums.phpfreaks.com/topic/139532-solved-qregex/#findComment-729961 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.