강의

멘토링

커뮤니티

Programming

/

etc. (Programming)

Regular expressions for web programming

Do you need regular expressions to validate user input in web programming?

(4.3) 4 reviews

74 learners

Level Basic

Course period Unlimited

  • stgray220932
Regex
Regex
Regex
Regex

What you will gain after the course

  • Writing a regular expression

  • Using Regular Expressions in Java, JavaScript, and SQL

Regular expressions are not optional, they are required

We have to use a lot of regular expressions in our programming process.

The most representative case is the verification process for user input values in web programming.

Here's an example of inflearn's sign-up screen. It's horrifying to think that the user input is in the correct email format and that the password complexity complies with the guidelines, but it's handled as a string.



It is also used for string pattern search in various programming fields such as Java, JavaScript, and SQL.

public C regexMatchers ( String ... regexPatterns ) { Assert . state (! this . anyRequestConfigured , "Can't configure regexMatchers after anyRequest" ); return chainRequestMatchers ( RequestMatchers . regexMatchers (regexPatterns)); }


It's just a simple string, but when you look at the expression, you wonder what it means.

^ [\w.-] {1,64}@ [\w.-] {1,252}\.\w{2,4}$


It's not that difficult once you know a few things!

Regular expressions use a few metacharacters to construct patterns and perform search and replacement operations. When I first learned Korean, even the letters ㄱ, ㄴ, and ㄷ were difficult, but now I can read and write them with ease. Just like that, regular expressions are easy to learn once you learn just a few metacharacters.

Frankly, it's not easy to masterfully create patterns using regular expressions. Fortunately, many of the regular expressions we need have already been developed, but they simply don't fit our needs perfectly. Therefore, the only skill we need is to find expressions that fit our needs, read them, and modify them slightly to suit our needs.


Even if you don't necessarily need to become a master of regular expressions, don't you need the ability to comfortably read other regular expressions and modify them to suit the situation of your project/code?

Recommended for
these people

Who is this course right for?

  • Anyone who wants to write regular expressions in web programs

  • All that needs string pattern search

Need to know before starting?

  • Java (a little unit testing)

  • JavaScript (Variable Declaration)

  • Sql (basic select statement)

Hello
This is

111

Learners

7

Reviews

4.6

Rating

2

Courses

Hello. This is Everyone's Coding: Dooding~

I am an instructor who finds great joy in explaining highly practical knowledge in an easy-to-understand way and feels happy when students grasp the concepts. I have been active in both teaching and development for over 20 years, and I am currently communicating through lectures, my blog, and YouTube.

It would be truly rewarding if my small efforts could help someone save time and avoid unnecessary trial and error.

I would be truly gratified if my small efforts could help reduce someone else's trial and error. https://goodteacher.tistory.com/ https://www.youtube.com/channel/UCCol7dj1IZWwjSGBs_UlUog

I would be very proud if my small efforts could help someone avoid unnecessary trial and error. https://goodteacher.tistory.com/ https://www.youtube.com/channel/UCCol7dj1IZWwjSGBs_UlUog

Curriculum

All

12 lectures ∙ (1hr 38min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

4 reviews

4.3

4 reviews

  • human2642622님의 프로필 이미지
    human2642622

    Reviews 72

    Average Rating 5.0

    5

    67% enrolled

    • 1466su2462님의 프로필 이미지
      1466su2462

      Reviews 1

      Average Rating 5.0

      5

      67% enrolled

      There was a time when I had to implement string analysis logic using regular expressions while working on company business, and thanks to this lecture, I was able to solve complex string matching with a single expression! This is the most detailed lecture and material available on the market! In particular, it was even more helpful because it taught various skills that can be used in actual development in between. 👍🏻👍🏻

      • stgray220932
        Instructor

        Thank you for the good review~~

    • youngfeb0639님의 프로필 이미지
      youngfeb0639

      Reviews 1

      Average Rating 5.0

      5

      33% enrolled

      It was explained very well, just the necessary parts. Thank you.

      • ijldcc님의 프로필 이미지
        ijldcc

        Reviews 2

        Average Rating 1.5

        2

        100% enrolled

        $8.80

        stgray220932's other courses

        Check out other courses by the instructor!