yarnmiyarnmi.hashnode.dev·Jul 18, 2024퀴즈를 통해 정규표현식 익히기퀴즈 1 인풋: "The quick brown fox jumps over the lazy dog." 요구사항: 모든 단어를 추출하시오. 정규표현식 : /\b\w+\b/g 설명 : 단어 경계 사이에 있는 하나 이상의 단어 포함하는 모든 단어 추출 퀴즈 2 인풋: "Contact us atsupport@example.com or sales@example.org" 요구사항: 모든 이메일 주소를 추출하시오. 정규표현식 : /[a-zA-Z0-9._%+-...DiscussRegular Expressions
Vukani Gcabashevukanig.hashnode.dev·Jul 2, 2024Understanding Regular Expressions (Regex)Introduction Regular expressions, commonly known as regex, are powerful tools we use for pattern matching within strings when we are trying to perform operations on a string. Some of the useful ways to use it include: search, edit, and manipulate tex...DiscussRegular Expressions
Simon Ugorjioctagon.hashnode.dev·Jun 28, 2024A Recent Backend Problem That I Had To SolveLet us assume that you are working on a backend project with NodeJS and this project has lots of API endpoints that need strict validation on each of the routes. How best would you validate these endpoints and still return a user-friendly error to th...Discussbackend
Emeron Marcelleemerondomain.hashnode.dev·Jun 23, 2024Understanding Regular Expressions in PythonRegular expressions (regex) are a powerful tool for matching patterns in text. Python's re module provides support for working with regular expressions, allowing you to search, match, and manipulate strings with ease. In this blog post, we will explo...DiscussRegular Expressions
วีระชัย แย้มวจีpage2me.hashnode.dev·Jun 20, 2024Regular Expressions (Regex)Regular Expressions (Regex) Regular expressions, often shortened to regex or regexp, are essentially a special code used to define patterns within text. These patterns can be used for searching, extracting, or replacing text based on specific criteri...DiscussRegex
Yasith Vimukthiyasithv.hashnode.dev·Jun 18, 2024Digit Detective: How to Use Regular Expressions in Python to Find DigitsWhat are Regular Expressions ? Have you ever had the need to match particular strings of text such as particular characters, words or patterns of characters? A Regular Expression, also referred to as 'regex' or 'regexp', is a clever 'wildcard' expres...DiscussPython
Balaji Somasalebalajisomasale.hashnode.dev·Jun 16, 2024Beginner's Guide to Learning Regular Expressions (Regex) with ExamplesRegular expressions (regex) are powerful tools used for pattern matching and text manipulation. Whether you're a developer, data analyst, or someone who deals with textual data regularly, understanding regex can greatly enhance your ability to proces...DiscussRegex
Raineraineyang.hashnode.dev·Jun 4, 2024PyTA Project: Editing pre-commit hook configurationPre-commit hooks are checkers that automatically fix code style issues before commiting the code. Instead of reporting the style errors to users (like PythonTA), they normally do not display the specific style rules being used and just directly refac...DiscussPython
Gulshan Kumarperfinsights.hashnode.dev·May 26, 2024Remove Trailing Zeros From a StringGiven a positive integer num represented as a string, return the integer num without trailing zeros as a string. LeetCode Problem - 2710 class Solution { public String removeTrailingZeros(String num) { // Use a regular expression to repla...DiscussJava SolutionJava
himanshugopalkdwivedi.hashnode.dev·May 25, 2024(lt.39)Mastering Regular Expressions and Efficient Use of Spread & Rest Operators in JavaScriptA regular expression (regex) in JavaScript is a pattern used to match character combinations in strings. They consist of a sequence of characters and special metacharacters that define the criteria for the search. // let pattern = "hello" // //conver...DiscussWeb Development