15 views
Give a regular expression to represent salaries as they might appear in employment advertising. Consider that salaries might be given on a per hour, week, month or year basis. They may or may not appear with a dollar sign or other unit such as $"K"$ following. There may be a word or words nearby that identify a salary. Suggestion$:$ look at classified ads in a newspaper, or on-line jobs listings to get an idea of what patterns might be useful.

edited | 15 views