Skip to content

JassWeb

  • Home
  • Solved
    • javascript
    • c++
    • java
    • git
    • php
    • arrays
    • html
    • python
    • jquery
    • mysql
    • .net
    • json
    • ajax

pcre

[Solved] Capturing all method arguments default values

February 15, 2023 by Kirat

[ad_1] If you are trying to parse single or double quoted strings, it should be done in two steps. Validation, then parse for values. You could probably do both in a single regex with the use of a \G anchor, validating with \A\G and parsing with just the \G. If you are sure its valid, … Read more

Categories Solved Tags pcre, php, preg-match, regex

[Solved] I need a regex for the following combination [closed]

December 25, 2022 by Kirat

[ad_1] mission_id:\s*\w?(\d*)\w? That should work; maybe add any flags you need for parsing multiline text or whatever. www.regexr.com is a great resource for trying out RegExps [ad_2] solved I need a regex for the following combination [closed]

Categories Solved Tags pcre, regex

[Solved] How would I write a regular expression that captures A23 but not A 23

October 1, 2022 by Kirat

[ad_1] sically if there is a space after the capital A, I would to ignore the A and the space and capture everything else. But if there is no space after the A I want to include the A in the capture. You can try this regex in PCRE using match reset \K: \bA(?: \K)?\S+ … Read more

Categories Solved Tags pcre, regex

[Solved] Swap multiple parts of an IP using a Perl REGEX [duplicate]

September 24, 2022 by Kirat

[ad_1] s/(\d{1,3}\.\d{1,3})\.233(\.\d{1,3})/$1.234$2/ Will do what you want in PCRE 5 [ad_2] solved Swap multiple parts of an IP using a Perl REGEX [duplicate]

Categories Solved Tags pcre, perl, regex, replace

Recent Posts

  • [Solved] Check to see if two lists have the same value at the same index, if so return the index. If not return -1
  • [Solved] Generics C# organization of methods that depends on type [closed]
  • [Solved] Database – SQL Table to Perl Script
  • [Solved] Comment xml elements programmatically
  • [Solved] Logging printout of an executed python file within another file and printing out the result in terminal simultaneously

Archives

  • November 2023
  • June 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • November 2021
  • August 2020
  • March 2020
  • June 2019
  • February 2019
  • September 2018
  • August 2018
  • July 2018
  • March 2018
  • February 2018
  • December 2017
  • October 2017
  • August 2017
  • January 2017
  • September 2016
  • May 2016
  • January 2016
  • October 2015
  • July 2015
  • February 2015
  • December 2014
  • November 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • March 2014
  • January 2014
  • January 2013
  • October 2012
  • March 2012
  • October 2011
  • March 2011
  • January 2010
  • September 2009
  • May 2009
  • February 2009
  • January 2009
  • October 2007
  • January 2007
  • November 2004
  • May 2002
  • September 2001
  • May 2001

Categories

  • Solved
  • WordPress

Quick Links

© 2026 JassWeb • Built with GeneratePress