Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 13540679

@User 13540679
About
Posts
20
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    Dave, I'm not sure I could be any clearer. If you looked at the image you would see exactly what happens when I insert the Regex

    Regular Expressions html regex help

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    Hi Dave, Sorry for the delayed response The reason for wanting to show a screenshot is because I use application to insert the a Search and Replace regex. So I would enter [A-Za-z]{3}\d{4} in the Search dialogue box, and [A-Za-z]{3}(?=\d{4}) in the replace dialoge box. The search regex works fine, but the replace regex returns [A-Za-z]{3}(?=\d{4}) I'm assuming the the Regex pattern HTML 5 FireFox doesn't allow for replace?

    Regular Expressions html regex help

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    I dont understand. Did you see the screenshot? I simply cut-and-paste your regex I should point out the regex I originally sent was not generated by me - I simply got the regex using an application called RegexMagic. I am 100% new to Regex. This means, I really don't have a clue what you're referring to. Please help

    Regular Expressions html regex help

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    Hi, sorry for the delayed response. I wanted to show you a screenshot, because I'm not getting an error from the application I'm using. It's replacing the string with [A-Za-z]{3}(?=\d{4}) Let me know if you can see the screenshot from the link below? regmagic2.png - Google Drive[^]

    Regular Expressions html regex help

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    Is it possible to send an attachment on this forum I would like to send a screenshot to you.

    Regular Expressions html regex help

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    Hi Griff, Thanks for reaching out. Unfortunately, it didn't work. The replacement just returns [A-Za-z]{3}(?=\d{4})

    Regular Expressions html regex help

  • String Replacement in 'HTML 5 FireFox'
    U User 13540679

    Hello Community, I have created Regex with Regex Magic with HTML 5 Firework, see attached. The Regex [A-Za-z]{3}\d{4} successfully finds a string such as GMK6954 using Character Spaces. Can someone help with modifying the Regex such that it replaces the first 3 letters with --- so the resulting Regex will generate the following 6954 Thanks

    Regular Expressions html regex help

  • Case Conversion Regular Expression in JAVA 8
    U User 13540679

    Thanks man

    Regular Expressions regex tutorial java perl question

  • Case Conversion Regular Expression in JAVA 8
    U User 13540679

    Hey Richard, I was so fixated with the way I wanted to achieve the result that I didn't realise how easy it is to get the result using your suggestion. TBH, with your suggestion I can get the result just using SQL, converting the entire string to lower case (as you suggested) and using a simple SQL function (which I'm familiar with) to Capitalize each word. I literally would have saved myself 9 hours of trying to figure this out. Thanks man

    Regular Expressions regex tutorial java perl question

  • Case Conversion Regular Expression in JAVA 8
    U User 13540679

    Hi Community, I have come to the conclusion that it may not to be possible to change the case of a string in JAVA 8 as simply as it is to change the case in say Perl. However, before I move on, I just wanted to have someone on this forum confirm its not possible to change the case in JAVA 8 as follows: Insert the whole regex match or the 1st through 99th backreference with the first letter of each word in the matched text converted to uppercase and the remaining letters converted to lowercase. Example Replacing .+ with \I0 in HeLlO WoRlD yields Hello World Can someone confirm that the above isn't possible with JAVA 8? If its not possible, can someone let me know how to achieve the above with JAVA 8? Thanks

    Regular Expressions regex tutorial java perl question

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    So, this is my attempt I tried the following regex in Java 8, (?i)(Helló) (Wórld) which matches HeLlÓ WóRlD the replacement string \U$1 \L$2 should become HELLÓ wórld, but it doesn't work. Can someone please help me???

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    I'm never going to figure it out! Can I get some hints on a solution?

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    ok, I will think of something. I will post it. Hopefully, you'll let me know if I'm on the right track

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    Hi Richard, Sorry to be pain, but could please provide an example

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    Hi Richard, Thanks for reaching out. And thanks for the link. Unfortunately, I'm extremely new to Regex so unfortunately I wouldn't know where to look in the link String (Java Platform SE 7 )[^] I thought this was a pretty easy question for someone help with an answer to?

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    Thanks getting in touch. I'm using Java 8 Are you able help?

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    Hi, Thanks for reaching out. Sorry for not mentioning the language. The language is JAVA 8

    Regular Expressions regex tutorial

  • Regular Expression to Change Uppercase Text to Lowercase
    U User 13540679

    Can someone assist with a regular expression that will replace and capitalize the first character in a text characters to lowercase For example PETER Before Peter After JohN Before John After paul Before Paul After The following Regex will locate the Uppercase characters [A-Z] But I don't know how to replace them by turning the first character to Uppercase. Thanks

    Regular Expressions regex tutorial

  • A Regular Expression that will search and replace characters from a string
    U User 13540679

    This is fantastic. However, my platform uses javase and the following regex was able to pick out the strings without leading 0's e.g. 121 and 122. However, the regex "(9, '0')" doesn't replace 121, and 122 with 000000121 and 000000122. Nevertheless, this is great. \b[1-9]\d*\b

    Regular Expressions regex help tutorial question

  • A Regular Expression that will search and replace characters from a string
    U User 13540679

    Hello Community, I'm trying to compile a regular expression that will search for strings that exclude certain characters. For example, the following string value has 6 leading 0's 000000120 The next string excludes the 0's 121 122 I would like a regular expression that can find strings without the leading 0's and then add the 0's to it. Therefore, 121, and 122 would become 000000121 and 000000122. Can you help with this? Thanks Carlton

    Regular Expressions regex help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups