Skip to content

Category: Questions

Filtering data from API using dropdown in React

How would I go about filtering results from an API using the dropdown? I currently have a select tag like so The list is also displaying all the results from the API with Example of what the API returns Where 1970 is the year, 04 is the month, 19 is the day and the string after is time. How would

regular expression to capture pdf data in nodejs

I have this code to get specific data from a pdf that is already converted to a string. basically, this is the string i have after that. I need a regular expression that captures de numbers only, I expect something like this: [1308906.95, 230942.51] this is my NodeJS code this is the code I have so far, I wou…